Instructions for Twistory 1.3


General

     This is the PolyTool application icon:

     "PolyTool" is a program which you can use to edit the polygons that Twistory uses. Its main purpose is to create polygons for historical "sphere of influence" records. Information like the name and dates of an empire are in the .ttt files. But the polygons themselves are referred to by filename inside a <file> field in a .ttt file.

Editing Polygons

     To select a polygon, click on it. The selected polygon appears in green, and its vertices have small handles. The commands in the "Polygon" menu operate on the selected polygon. The selected vertex has an open handle.

     To create a new polygon, command-click on the map where you want it. You will see a minimal polygon (open, with only two points) appear. To move a vertex, drag its handle with the mouse. To create a new vertex between two existing one, drag the smaller handle at the middle of the line segment; a new vertex will appear. To close the polygon, choose "Close" from the "Polygon" menu. To delete a point, select it by clicking on it, and then hit the delete key.

File Types

     There are two types of polygon files. They both contain information on closed or open polygons on the surface of a sphere (the earth) with coordinates given in minutes of latitude and longitude. Both are text files.

     The first kind is PolyTool's own document type:

This type of file contains a list of polygons, and its creator is PolyTool, so that when you double-click on it in the Finder, PolyTool opens. (Since it is typed after the Mac idiom, there is no need for a filename extension.) Once you open such a file, you can create and edit polygons on the surface of the earth.

     The second kind is the single-polygon file. Here is its icon:

This is a normal text file, and it contains only one polygon. This is the format in which a polygon is exported from PolyTool, and in which Twistory expects it. It has the default creator, SimpleText, so a file extension (.poly) is typically added to remind you of what type it is.

Advanced Manoeuvres

     Twistory's own map was actually created and edited with PolyTool. If you wish, you can add or remove detail from Twistory's internal outline map with PolyTool. For this you need some familiarity with ResEdit.

     I have not bothered to give the format of polygon files here, since there is no need to use it if you have PolyTool. But it is not that complicated, as a look at PolyTool's output will show. Latitude is in minutes north of the equator, and longitude is in minutes east of the prime meridian. A line beginning with "m" indicates a move to absolute coordinates; other vertices are relative.